<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="/web/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/web/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/web/css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="/web/css/plugins/jqgrid/ui.jqgridffe4.css?0820" rel="stylesheet">
    <link href="/web/css/animate.min.css" rel="stylesheet">
    <link href="/web/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
    <style type="text/css">
        .imgStyle{
            width: 350px;
            height: auto;
        }
    </style>
</head>

<body class="gray-bg" onload="load()">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="clients-list">
                    <ul class="nav nav-tabs">
                        <li class="active"><a data-toggle="tab" href="#tab-1"><i class="fa fa-user"></i>通用信息</a></li>
                        <li class=""><a data-toggle="tab" href="#tab-2"><i class="fa fa-briefcase"></i>快递运费</a></li>
                        <!--<li class=""><a data-toggle="tab" href="#tab-3"><i class="fa fa-briefcase"></i>审核</a></li>-->
                    </ul>
                    <div class="tab-content">
                        <div id="tab-1" class="tab-pane active">
                            <div class="ibox-content  rt-temp-width">
                                <form id="ajaxform" class="form-horizontal" role="form">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">公司名称：</label>
                                        <div class="col-sm-6">
                                            <input type="hidden" id="companyId" name="companyId" class="form-control"
                                                   th:value="${company.companyId}">
                                            <input type="hidden" id="companyType1" name="companyType1"
                                                   class="form-control"
                                                   th:value="${company.companyType}">
                                            <input type="hidden" id="coType1" class="form-control"
                                                   th:value="${company.coType}">
                                            <input type="hidden" id="coPayType1" class="form-control"
                                                   th:value="${company.coPayType}">
                                            <input type="text" name="companyName" class="form-control"
                                                   th:value="${company.companyName}" required="" aria-required="true"
                                                   maxlength="100" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <labelc class="col-sm-2 control-label">所属行业：</labelc>
                                        <div class="col-sm-6">
                                            <input th:value="${company.companyType}" type="hidden" id="indeustry">
                                            <select class="form-control" id="industrySelect" aria-required="true" required="">
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <labelc class="col-sm-2 control-label">商家类型：</labelc>
                                        <div class="col-sm-6">
                                            <input th:value="${company.companyTypeId}" type="hidden" id="companyTypeId">
                                            <select class="form-control"  name="companyTypeId" id="typeSelect"  aria-required="true" required="">
                                            </select>
                                        </div>
                                    </div>
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">公司类型：</label>-->
                                        <!--<div class="col-sm-10">-->
                                            <!--<select class="form-control" id="companyType" name="companyType">-->
                                                <!--<option value="0">实体商家</option>-->
                                                <!--<option value="1">微商</option>-->
                                                <!--<option value="2">心理咨询</option>-->
                                                <!--<option value="3">城市合伙人</option>-->
                                                <!--<option value="4">梦想合伙人</option>-->
                                                <!--<option value="5">教育培训</option>-->
                                                <!--<option value="6">联合创始人</option>-->
                                                <!--<option value="7">艺术家</option>-->
                                                <!--<option value="8">供货商</option>-->
                                                <!--<option value="9">产业合伙人</option>-->
                                                <!--<option value="10">点餐商家</option>-->
                                                <!--<option value="11">互动商家(至尊版)</option>-->
                                                <!--<option value="13">互动商家(基础版)</option>-->
                                                <!--<option value="14">合伙人</option>-->
                                                <!--<option value="15">创始股东</option>-->
                                            <!--</select>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">公司归属人ID：</label>
                                        <div class="col-sm-6">
                                            <input type="text" id="userId" name="userId" class="form-control"
                                                   th:value="${company.userId}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">联系人：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="linkman" class="form-control"
                                                   th:value="${company.linkman}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">联系方式：</label>
                                        <div class="col-sm-6">
                                            <input type="number" name="mobile" class="form-control" required=""
                                                   th:value="${company.mobile}"
                                                   aria-required="true" minlength="1" maxlength="100000">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 法人身份证：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="jmId" class="form-control"
                                                   th:value="${company.jmId}"
                                                   minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 商业许可证号码：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="businessLicenseNumber" class="form-control"
                                                   th:value="${company.businessLicenseNumber}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 公司LOGO：</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control"
                                                   th:value="${company.headimgurl}" readonly="readonly"
                                                   minlength="1">
                                            <img class="imgStyle" th:src="${company.headimgurl}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 工商营业执照：</label>
                                        <div class="col-sm-6">
                                            <input class="imgStyle" type="text" class="form-control"
                                                   th:value="${company.imgBusinessLicense}" readonly="readonly"
                                                   minlength="1">
                                            <img class="imgStyle" th:src="${company.imgBusinessLicense}"/>
                                        </div>
                                    </div>
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label"> 许可证反面：</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<input type="text" class="form-control"-->
                                                   <!--th:value="${company.businessImgBack}" readonly="readonly" minlength="1">-->
                                            <!--<img class="imgStyle" th:src="${company.businessImgBack}"/>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 身份证（正面）：</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control"
                                                   th:value="${company.imgIdFront}" readonly="readonly" minlength="1">
                                            <img class="imgStyle" th:src="${company.imgIdFront}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 身份证（反面）：</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control"
                                                   th:value="${company.imgIdBack}" readonly="readonly" minlength="1">
                                            <img class="imgStyle" th:src="${company.imgIdBack}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 手持身份证照片：</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control"
                                                   th:value="${company.imgFrontPhoto}" readonly="readonly" minlength="1">
                                            <img class="imgStyle" th:src="${company.imgFrontPhoto}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 组织机构代码证：</label>
                                        <div class="col-sm-6">
                                            <input type="text"
                                                   class="form-control"
                                                   th:value="${company.imgOrganizationCodeCertificate}"
                                                   readonly="readonly"
                                                   minlength="1">
                                            <img class="imgStyle" th:src="${company.imgOrganizationCodeCertificate}"/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 心理咨询二级证：</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control"
                                                   th:value="${company.xlErCert}" readonly="readonly" minlength="1">
                                            <img class="imgStyle" th:src="${company.xlErCert}"/>
                                        </div>
                                    </div>
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label"> 门店照片：</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<input type="text" class="form-control"-->
                                                   <!--th:value="${company.imgHeadPhoto}" readonly="readonly" minlength="1">-->
                                            <!--<img class="imgStyle" th:src="${company.imgHeadPhoto}"/>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 商家推广二维码：</label>
                                        <div class="col-sm-6">
                                            <input type="text" id="qr" class="form-control" readonly="readonly" minlength="1">
                                            <div id="qrcode"></div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 商家收款二维码：</label>
                                        <div class="col-sm-6">
                                            <input type="text" id="sk" class="form-control"
                                                   th:value="${companyQrCodeUrl}" readonly="readonly" minlength="1">
                                            <div id="skCode"></div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 合作支付方式：</label>
                                        <div class="col-sm-2">
                                            <select class="form-control" id="coPayType" name="coPayType">
                                                <option value="0">月结</option>
                                                <option value="1">满1000</option>
                                                <option value="2">实时(微信)</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 银行卡开户人：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="bankAccount" class="form-control"
                                                   th:value="${company.bankAccount}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 银行卡开户行：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="bankName" class="form-control"
                                                   th:value="${company.bankName}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 银行卡账号：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="bankId" class="form-control"
                                                   th:value="${company.bankId}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 地址：</label>
                                        <div class="col-sm-3">
                                            <input th:value="${company.province}" type="hidden" id="pr">
                                            <input type="hidden" id="provinceIds" name = "province">
                                            <select class="form-control district" id="province">
                                                <option value="0">省份</option>
                                            </select>
                                            <input th:value="${company.city}" type="hidden" id="ct">
                                            <input type="hidden" id="cityIds" name = "city">
                                            <select  class="form-control" id="city">
                                                <option value="0">市</option>
                                            </select>
                                            <input th:value="${company.district}" type="hidden" id="dr">
                                            <input type="hidden" id="districtIds" name = "district">
                                            <select  class="form-control" id="district">
                                                <option value="0">区</option>
                                            </select>
                                            <input th:value="${company.districtId}" type="hidden" name="districtId" class="form-control">
                                        </div>
                                        <div class="col-sm-7"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 详细地址：</label>
                                        <div class="col-sm-6">
                                            <input type="text" th:value="${company.address}" name="address"
                                                   class="form-control" minlength="1">
                                        </div>
                                    </div>
                                    <input id="redirectType" th:value="${company.redirectType}" type="hidden">
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">个人二维码功能-->
                                            <!--<br/>-->
                                            <!--<small class="text-navy">务必填写信息</small>-->
                                        <!--</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<div class="radio i-checks">-->
                                                <!--<label>-->
                                                    <!--<input type="radio" name="redirectType" value="0" checked="">-->
                                                    <!--<i></i>-->
                                                    <!--跳转至龙蛙商城首页 </label>-->
                                            <!--</div>-->
                                            <!--&lt;!&ndash;<div class="radio i-checks">&ndash;&gt;-->
                                                <!--&lt;!&ndash;<label>&ndash;&gt;-->
                                                    <!--&lt;!&ndash;<input type="radio" name="redirectType" value="1"> <i></i> 跳转至商户店铺&ndash;&gt;-->
                                                <!--&lt;!&ndash;</label>&ndash;&gt;-->
                                            <!--&lt;!&ndash;</div>&ndash;&gt;-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 单位名称：</label>
                                        <div class="col-sm-6">
                                            <input type="text" th:value="${company.businessCompanyName}" name="businessCompanyName"
                                                   class="form-control" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 法定代表人：</label>
                                        <div class="col-sm-6">
                                            <input type="text" th:value="${company.businessLegalPerson}" name="businessLegalPerson"
                                                   class="form-control" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 经营地址：</label>
                                        <div class="col-sm-6">
                                            <input type="text" th:value="${company.businessAddress}" name="businessAddress"
                                                   class="form-control" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 经营范围：</label>
                                        <div class="col-sm-6">
                                            <input type="text" th:value="${company.businessRange}" name="businessRange"
                                                   class="form-control" minlength="1">
                                        </div>
                                    </div>
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label"> 营业许可检查时间：</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<input  id ="businessInspectTime" type="hidden" th:value="${company.businessInspectTime}" >-->
                                            <!--<div class="input-daterange input-group datepicker">-->
                                                <!--<input type="text" class="input-sm form-control" id="businessInspect" name="businessInspectTime"/>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 营业许有效时间：</label>
                                        <div class="col-sm-6">
                                            <input  id ="businessEffectiveTime" type="hidden" th:value="${company.businessEffectiveTime}" >
                                            <div class="input-daterange input-group datepicker">
                                                <input type="text" class="input-sm form-control" id="businessEffective" name="businessEffectiveTime"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">营业起始时间：</label>
                                        <input  id ="businessStartTime" type="hidden" th:value="${company.businessStartTime}" >
                                        <input  id ="businessEndTime" type="hidden" th:value="${company.businessEndTime}" >
                                        <div class="col-sm-6">
                                            <div class="input-daterange input-group datepicker">
                                                <input type="text" class="input-sm form-control" id="beginDateOne" name="businessStartTime"/>
                                                <span class="input-group-addon">至</span>
                                                <input type="text" class="input-sm form-control" id="endDateOne" name="businessEndTime"/>
                                            </div>
                                        </div>
                                        <div class="col-sm-4"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 备注信息：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="remark" class="form-control"
                                                   th:value="${company.remark}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">审核状态
                                            <br/>
                                            <small class="text-navy">务必填写备注信息</small>
                                        </label>
                                        <div class="col-sm-6">
                                            <div class="radio i-checks">
                                                <label>
                                                    <input type="radio" name="companyStatus" value="0" checked="" id="companyStatus0">
                                                    <i></i>
                                                    未审核 </label>
                                            </div>
                                            <div class="radio i-checks">
                                                <input  id ="companyStatus" type="hidden" th:value="${company.companyStatus}" >
                                                <label>
                                                    <input type="radio" name="companyStatus" value="1" id="companyStatus1">
                                                    <i></i>
                                                    审核通过 </label>
                                            </div>
                                            <div class="radio i-checks">
                                                <label>
                                                    <input type="radio" name="companyStatus" value="2" id="companyStatus2"> <i></i>
                                                    审核未通过
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <labelc class="col-sm-2 control-label">添加商品：</labelc>
                                        <!--<div class="col-sm-5" style="display: flex;justify-content: space-between;">-->
                                        <div class="col-sm-6">
                                            <select class="form-control" id="goodsSelect" aria-required="true" required="">
                                            </select>
                                            <!--<select class="form-control" id="goodsSelect" aria-required="true" required="" style="width: 65%;">-->
                                            <!--</select>-->
                                            <!--<button id="createGoods" class="btn btn-primary col-sm-1" style="width: 29%;">确认添加</button>-->
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> 审核原因：</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="auditCause" class="form-control"
                                                   th:value="${company.auditCause}" minlength="1">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-3"></div>
                                        <button id="submitUpdate" class="btn btn-primary col-sm-1">确认</button>
                                        <div class="col-sm-2"></div>
                                        <div class="col-sm-2"></div>
                                        <button id="buttonGoback" class="btn btn-primary col-sm-1">返回</button>
                                        <div class="col-sm-3"></div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <div id="tab-2" class="tab-pane">
                            <div class="ibox-content">
                                <form id="ajaxEX" class="form-horizontal" role="form">
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-1 control-label">省</div>
                                        <div class="col-sm-2">
                                            <select class="form-control  provinceId" id="provinceId" name="provinceId">
                                            </select>
                                        </div>
                                        <label class="col-sm-1 control-label">快递公司</label>
                                        <div class="col-sm-2">
                                            <select class="form-control logisticsId" id="logisticsId"
                                                    name="logisticsId">
                                            </select>
                                        </div>
                                        <button id="perform_search" type="button" class="btn btn-primary col-sm-1">
                                            搜索
                                        </button>
                                        <label class="col-sm-1 control-label">运费金额</label>
                                        <div class="col-sm-2">
                                            <input type="text" id="price" name="price" class="form-control"/>
                                        </div>
                                        <button id="submitExUpdate" class="btn btn-primary ">保存</button>
                                    </div>
                                </form>
                                <div class="ibox-content">
                                    <div class="jqGrid_wrapper">
                                        <table class="table" id="company_list"></table>
                                        <div id="pager_company_list"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--<div id="tab-3" class="tab-pane">-->
                            <!--<div class="ibox-content">-->
                                <!--<form id="ajaxfromdata" class="formdata-horizontal" role="form">-->
                                    <!--<input type="hidden" class="companyId" id="id" name="companyId">-->
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">审核状态-->
                                            <!--<br/>-->
                                            <!--<small class="text-navy">务必填写备注信息</small>-->
                                        <!--</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<div class="radio i-checks">-->
                                                <!--<label>-->
                                                    <!--<input type="radio" name="companyStatus" value="1" checked="">-->
                                                    <!--<i></i>-->
                                                    <!--审核通过 </label>-->
                                            <!--</div>-->
                                            <!--<div class="radio i-checks">-->
                                                <!--<label>-->
                                                    <!--<input type="radio" name="companyStatus" value="2"> <i></i>-->
                                                    <!--审核未通过-->
                                                <!--</label>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <!--<div class="form-group">-->
                                        <!--<label class="col-sm-2 control-label">审核原因</label>-->
                                        <!--<div class="col-sm-6">-->
                                            <!--<input type="text" name="auditCause" class="form-control"> <span-->
                                                <!--class="help-block m-b-none">备注信息必须填写</span>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <!--<div class="ibox-content">-->
                                        <!--<div class="col-sm-3"></div>-->
                                        <!--<button id="submitaudit" class="btn btn-primary col-sm-1">审核通过</button>-->
                                        <!--<div class="col-sm-2"></div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</div>-->
                        <!--</div>-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/web/js/jquery.min.js?v=2.1.4"></script>
<script src="/web/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/web/js/content.min.js?v=1.0.0"></script>
<script src="/web/js/self/commons.js"></script>
<script src="/web/js/plugins/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
<script src="/web/js/plugins/jqgrid/jquery.jqGrid.minffe4.js?0820"></script>
<script src="/web/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="/web/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/web/js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script src="/web/js/qrcode.js"></script>
<script src="/web/js/self/company_update.js?v=1.0"></script>
</body>
</html>
